package com.fh.shop.api.util;

public class KeyUtil {

    public static String buildSMSPhoneKey(String phone) {
        return "sms:phone:"+phone;
    }

    public static String buildMemberKey(Long memberId) {
        return "member:"+memberId;
    }

    public static String buildCartKey(Long memberId) {
        return "cart:member:"+memberId;
    }

    public static String buildActiveKey(String uuid) {
        return "member:active:"+uuid;
    }
}
